package com.itheima.stock.mapper;

import com.itheima.stock.entity.StockMarketIndexInfo;
import com.itheima.stock.vo.OptionVO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
* @author 24811
* @description 针对表【stock_market_index_info(股票大盘数据详情表)】的数据库操作Mapper
* @createDate 2025-10-21 21:09:02
* @Entity com.itheima.stock.entity.StockMarketIndexInfo
*/
public interface StockMarketIndexInfoMapper {

    void insertBatch(@Param("infos") List<StockMarketIndexInfo> infos);

    List<StockMarketIndexInfo> selectByIdsAndTime(@Param("ids") List<String> ids, @Param("last") LocalDateTime last);

    List<OptionVO> selectTradeCount(@Param("b") LocalDateTime t1Open, @Param("e") LocalDateTime tClose, @Param("ids") List<String> ids);
}




